<?php
$mysqli = new mysqli("localhost", "zz52fang_f", "nimda12345qwert", "zz52fang");

/* check connection */ 
if (mysqli_connect_errno()) {
   printf("Connect failed: %s\n", mysqli_connect_error());
   exit();
}

printf("Host information: %s\n", $mysqli->host_info);

/* close connection */
$mysqli->close();
?>
